package cn.iocoder.yudao.module.eval.controller.admin.plan.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;

@Schema(description = "管理后台 - 评价计划分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class EvalPlanPageReqVO extends PageParam {

    @Schema(description = "计划名称", example = "2024年数控车工技能等级认定")
    private String planName;

    @Schema(description = "计划编码", example = "PLAN-2024-001")
    private String planCode;

    @Schema(description = "职业ID", example = "1")
    private Long professionId;

    @Schema(description = "职业名称", example = "数控车工")
    private String professionName;

    @Schema(description = "评价方式", example = "assessment")
    private String evaluationMethod;

    @Schema(description = "计划状态", example = "1")
    private Integer planStatus;

    @Schema(description = "评价模板ID", example = "1")
    private Long templateId;

    @Schema(description = "报名开始日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate[] registrationStartDate;

    @Schema(description = "评价开始日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate[] evaluationStartDate;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate[] createTime;

}
